package cn.jolyoulu.cmnservice.serivce.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import cn.jolyoulu.cmnservice.dao.SysIpRangeMapper;
import cn.jolyoulu.cmnservice.entity.po.SysIpRange;
import cn.jolyoulu.cmnservice.serivce.SysIpRangeService;

@Service
public class SysIpRangeServiceImpl extends ServiceImpl<SysIpRangeMapper, SysIpRange> implements SysIpRangeService {

    @Autowired
    private SysIpRangeMapper sysIpRangeMapper;


    @Override
    public String getLocationByIPNum(Long ipToNumber) {
        return sysIpRangeMapper.getLocationByIPNum(ipToNumber);
    }
}